package com.gxa.service.impl;

import com.gxa.common.R;
import com.gxa.pojo.User;
import com.gxa.service.UserService;

import java.util.Map;

/**
 * User: admin
 */
public class UserServiceImpl implements UserService {
    @Override
    public R addUser(User user) {
        R r = new R();
        //.....
        r.setCode(200);
        r.setMsg("注册成功");
        return r;
    }

    @Override
    public R addUser(Map map) {
        R r = new R();
        //.....
        r.setCode(200);
        r.setMsg("注册成功");
        return r;
    }
}
